<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:jsp="http://java.sun.com/JSP/Page"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets">

    <ui:composition template="../templates/template_professor.xhtml">
        <ui:define name="content">            
            <div id="content">
                <h:form id="notificacoes">
                    <h3>Caixa de Entrada</h3>
                    <h:dataTable id="matriculaRegistro" value="#{cadastroDiscente.listaHistorico}" var="historico"
                                 columnClasses="list-column-notas, list-column-mensagem"
                                 headerClass="list-header" rowClasses="list-row">
                        <h:column>
                            <f:facet name="header">
                                <h:outputText value="Docente"/>
                            </f:facet>
                            <h:outputText value="#{historico.docente_matriculadoc}"/>
                        </h:column>
                        <h:column>
                            <f:facet name="header">
                                <h:outputText value="Texto"/>
                            </f:facet>
                            <h:outputText styleClass="field" value="#{historico.texto}"/>
                        </h:column>
                    </h:dataTable>
                </h:form>
            </div>
        </ui:define>
    </ui:composition>
</html>
